package com.entity;

import org.apache.ibatis.type.Alias;

@Alias("BaseReview")
public class Review extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 评论内容
	 */
	private String reviewContent;

	/**
	 * 评论时间
	 */
	private String reviewTime;

	/**
	 * 用户编号（评论人）
	 */
	private String userId;

	/**
	 * 评论表名
	 */
	private String reviewTable;

	/**
	 * 评论对象编号
	 */
	private String reviewId;

	/**
	 * 评论评论编号
	 */
	private String reviewReviewId;


	public Review () {
		super();
	}

	public Review (String id,String reviewContent,String reviewTime,String userId,String reviewTable,String reviewId,String reviewReviewId) {
		this.id = id;
		this.reviewContent = reviewContent;
		this.reviewTime = reviewTime;
		this.userId = userId;
		this.reviewTable = reviewTable;
		this.reviewId = reviewId;
		this.reviewReviewId = reviewReviewId;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReviewContent() {
		return this.reviewContent;
	}

	public void setReviewContent(String reviewContent) {
		this.reviewContent = reviewContent;
	}

	public String getReviewTime() {
		return this.reviewTime;
	}

	public void setReviewTime(String reviewTime) {
		this.reviewTime = reviewTime;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getReviewTable() {
		return this.reviewTable;
	}

	public void setReviewTable(String reviewTable) {
		this.reviewTable = reviewTable;
	}

	public String getReviewId() {
		return this.reviewId;
	}

	public void setReviewId(String reviewId) {
		this.reviewId = reviewId;
	}

	public String getReviewReviewId() {
		return this.reviewReviewId;
	}

	public void setReviewReviewId(String reviewReviewId) {
		this.reviewReviewId = reviewReviewId;
	}

	@Override
	public String toString() {
		return "Review[id=" + id+ ", reviewContent=" + reviewContent + ", reviewTime=" + reviewTime + ", userId=" + userId + ", reviewTable=" + reviewTable + ", reviewId=" + reviewId + ", reviewReviewId=" + reviewReviewId + "]";
	}


}

